projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e89d6b8
)
menuitem: Fix copy/paste error
author
Benjamin Otte
<otte@redhat.com>
Thu, 26 May 2011 14:45:25 +0000
(16:45 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 27 May 2011 14:11:09 +0000
(16:11 +0200)
Thanks to Kalev Lember for noticing this one.
gtk/gtkmenuitem.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmenuitem.c
b/gtk/gtkmenuitem.c
index b7405bb6172a949caa4c119a66a037a0a44c744b..be643a85338fdcd14b072bf84142e3a573613257 100644
(file)
--- a/
gtk/gtkmenuitem.c
+++ b/
gtk/gtkmenuitem.c
@@
-2148,7
+2148,7
@@
gtk_menu_item_position_menu (GtkMenu *menu,
direction = gtk_widget_get_direction (widget);
twidth = gtk_widget_get_allocated_width (GTK_WIDGET (menu));
- theight = gtk_widget_get_allocated_
width
(GTK_WIDGET (menu));
+ theight = gtk_widget_get_allocated_
height
(GTK_WIDGET (menu));
screen = gtk_widget_get_screen (GTK_WIDGET (menu));
monitor_num = gdk_screen_get_monitor_at_window (screen, priv->event_window);